<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>HP钱包</title>
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/aui.css">
    <link rel="stylesheet" href="../css/aui-flex.css">
    <style>
        .btnBefore{
            background: #e8eff9;
            color: #fafeff;
        }
        .btnAfter{
            background: #6d80f8;
            color: #fff;
        }
        .btnAfter .color-blue{
            color: #fff !important;
        }
    </style>
</head>
<body style="background: #fff;">
<header class="aui-padded-15 over-flow">
    <div class="aui-pull-left font-weight-700 aui-font-size-14">HP钱包</div>
    <div class="aui-pull-right"><img src="../image/s.jpg" alt="" width="20" /></div>

</header>
<section class="aui-padded-15 ">
    <div class=" radius-6 over-flow box boxShadow " onclick="chooseThis(this)" style="width: 100%;">
        <div class="aui-padded-15  over-flow font-weight-500 colorWhite display-flex  flex-center">
            <div class="aui-pull-left aui-col-xs-6 color-blue font-weight-700">查看HP钱包收益</div>
            <div class="img100 aui-pull-right aui-col-xs-6"><img src="../image/look-back.jpg" alt=""></div>
        </div>
        <div class="aui-padded-15 aui-padded-t-0 aui-flex-item-12 aui-font-size-14">
            <sapn class="aui-inline aui-padded-r-10">50%自由</sapn>
            <sapn class="">50%锁定(矿机算利)</sapn>
        </div>
    </div>
</section>
    <section class="aui-padded-15 over-flow">
    <div class=" radius-6 over-flow box boxShadow" style="width: 100%;"  onclick="chooseThis(this)" >
        <div class="aui-padded-15  over-flow font-weight-500 colorWhite display-flex  flex-center">
            <div class="  aui-col-xs-7 color-blue ">
                <div class="font-size-20 font-weight-700">导入</div>
                <div class="font-weight-500">转入HP钱包</div>
            </div>
            <div class="img100 aui-pull-right aui-col-xs-6"><img src="../image/import-back.jpg" alt=""></div>
        </div>
        <div class="aui-padded-15 aui-padded-t-0 aui-flex-item-12 aui-font-size-14">

        </div>
    </div>
</section>
<div class="aui-padded-15 over-flow">
    <div class="aui-padded-15 radius-6 aui-inline aui-pull-right  btnBefore">Next</div>
</div>
</body>
<script src="../script/jquery.min.js"></script>
<script>
    function chooseThis(obj) {
        if($(obj).hasClass('btnAfter')){
            $(obj).removeClass('btnAfter');
            $(".btnBefore").removeClass('btnAfter');
        }else{
            $(".box").removeClass('btnAfter')
            $(obj).addClass('btnAfter')
            $(".btnBefore").addClass('btnAfter');
        }
    }
</script>
</html>